package com.qd.push.domain;

import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;


/**
 * @author sjk
 */
@Data
@Accessors(chain = true)
public class HttpMsgReceiveDTO {
    /**
     * 业务ID
     */
    private String bid;
    /**
     * 分类
     */
    private String classification;
    /**
     * 子分类
     */
    private String childClassification;
    /**
     * http请求类型
     */
    private String httpContentType;
    /**
     * http请求方式
     */
    private String httpMethod;
    /**
     * 接收时间
     */
    private LocalDateTime receiveTime;
    /**
     * 请求参数
     */
    private Object reqParam;
    /**
     * 发送地址
     */
    private String sendUrl;

    public void freeData() {
        this.bid = null;
        this.classification = null;
        this.childClassification = null;
        this.httpContentType = null;
        this.httpMethod = null;
        this.receiveTime = null;
        this.reqParam = null;
        this.sendUrl = null;
    }
}
